package com.shop.cereshop.app.page.productDetail;

import com.shop.cereshop.app.annotation.KeepLongAsNumber;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("SKU基础信息")
public class SkuBaseVO {

    @ApiModelProperty("SKU ID")
    @KeepLongAsNumber
    private Long skuId;

    @ApiModelProperty("售价")
    private BigDecimal price;

    @ApiModelProperty("库存数量")
    @KeepLongAsNumber
    private Long stockNumber;

    @ApiModelProperty("SKU主图")
    private String skuImage;

}
